package com.service.business.member.enums;

import lombok.Getter;

/**
 * <dl>
 * <dt>platform</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2018</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019-04-04</dd>
 * </dl>
 */
public class MemberEnums {

    public enum Status {

        ACTIVE(1),
        INVALID(0),
        DELETE(-1),
        LOCK(2);

        @Getter
        private Integer code;

        Status(Integer code) {
            this.code = code;
        }
    }

    /**
     * 权限
     */
    public enum Prem {

        PROCEEDS("1"),
        TURNOUT("2"),
        BUYING("3"),
        SALE("4"),
        HONGBAO("5");

        @Getter
        private String value;

        Prem(String value) {
            this.value = value;
        }

    }

}
